<?php
namespace app\index\controller;
use think\Controller;
use think\Model;

class Cron extends Base
{
    Public function time(){
        $cc = ROOT_PATH . 'public' . DS ;
        $shell = "$cc php time.php start";
        exec($shell);
    }
}